package com.getword.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;


@Document("zan")
@Setter
@Getter
@ToString
public class VideoZan implements Serializable {
    @Id
    @Field("_id")
    private String id;
    private String videoId;
    private Long userId;
    private Date date;
//    private Boolean status;
}
